<?php
// sunsblog.net CMS index.php CMS (c) 2004 Gjokica Zafirovski
require("../include/session.inc");
require ("../include/functions.inc");
require_once("verify_login.php");
openConnection();
include ("include/header.inc");
include ("include/navigation.inc");
?>
<td valign="top">
<form id="newsletter" name="newsletter" action="cms_newsletter_send.php" method="post">
      <table width="100%">
        <? if($confirmation){ ?>
          <tr>
            <td class="confirmation" colspan="4">
              <p>Thank you. Newsletter sent successfuly.</p>
            </td>
          </tr>
        <?}?>
        <tr>
          <td width="80%" valign="top">
            <table width="100%" style="border:1px #FFFFFF solid;">
              <tr>
                <td>
                  From name:
                </td>
                <td colspan="3">
                  <input id="from" name="from" type="text" size="30"/>
                </td>
              </tr>
              <tr>
                <td>
                  From email:
                </td>
                <td colspan="3">
                  <input id="from" name="fromemail" type="text" size="30"/>
                </td>
              </tr>
              <tr>
                <td>
                  To email:
                </td>
                <td>
                  <input id="to" name="to" type="text" size="30"/>
                </td>

                <td>
                  Prati na site?
                </td>
                <td>
                  <input id="sendtoall" name="sendtoall" type="checkbox" />
                </td>
              </tr>
              <tr>
                <td>
                  Subject:
                </td>
                <td colspan="3">
                  <input id="subject" name="subject" type="text" size="50"/>
                </td>
                <td>
                  
                </td>
                <td>
                  
                </td>
              </tr>
              <tr>
                <td colspan="4">
                  PLAIN TEXT:<br/>
                  <textarea id="plaintext" name="plaintext" rows="5" cols="50" style="width:100%">
                    
                  </textarea>
                </td>
              </tr>
              <tr>
                <td colspan="4">
                  HTML:<br/>
                  <textarea id="htmlcode" name="htmlcode" rows="20" cols="50" style="width:100%">
                    
                  </textarea>
                </td>
              </tr>
              <tr>
                <td align="right" colspan="4">
                  <input class="button" id="test" name="test" type="submit" value="test"/> 
                </td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
    </form>
</td>
<td>&nbsp;</td>
<?
//include ("../include/blog.inc");
include ("../include/footer.inc");
?>